package com.sealer.pattern.behavioral.chainofresponsibility;

/**
 * Created by sealer on 17/04/06.
 */
public abstract class Handler {
    protected Handler successor;

    public abstract void handleRequest(int level);

    public void setSuccessor(Handler successor) {
        this.successor = successor;
    }
}
